﻿@model Sealight.Core.DataAdapter.product
@{
    string keywords = string.Empty, description = string.Empty, title = string.Empty, seo = string.Empty;
    
    if(Model != null)
    {
        keywords = Model.meta_keywords;
        description = Model.meta_description;
        title = Model.metaTitle;
        seo = Model.se_name;
    }
}
<table class="adminContent">
    <tbody>
        <tr>
            <td class="adminTitle">
                <span id="" title="Meta keywords to be added to category page header">Meta keywords:</span>
            </td>
            <td class="adminData">
                <input name="meta_keywords_field" type="text" id="meta_keywords_field" class="adminInput" value="@keywords"/>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                <span id="" title="Meta description to be added to category page header">Meta description:</span>
            </td>
            <td class="adminData">
                <textarea name="meta_description_field" rows="2" cols="20" id="meta_description_fields"
                    class="adminInput" style="height: 100px;">@description</textarea>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                <span id="" title="Override the page title. The default is the name of the category.">
                    Meta title:</span>
            </td>
            <td class="adminData">
                <input name="meta_title_field" type="text" id="meta_title_field" class="adminInput" value="@title"/>
            </td>
        </tr>
        <tr>
            <td class="adminTitle">
                <span id="" title="Set a search engine friendly page name e.g. 'The Best Computers' to make your page name '##-the-best-computers.aspx' (## represents the category ID). The default is the name of category.">
                    Tên trang thân thiện (seo):</span>
            </td>
            <td class="adminData">
                <input name="seo_title_field" type="text" id="seo_title_field" class="adminInput" value="@seo"/>
            </td>
        </tr>       
    </tbody>
</table>
